<?php

header("Access-Control-Allow-Origin:*");
header("Access-Control-Allow-Headers: Origin, X-Requested-With, Authorization, Content-Type, Accept");
header('Access-Control-Allow-Methods: POST, PUT, GET, OPTIONS, DELETE, HEAD, PATCH');
return [
    '/main/home/main'   =>  function(\linkphp\router\Router $router){
        return '/main/home/main';
    },
];